package model.data;

import java.io.Serializable;

/**
 * * <b>Project ChatSystemG6 INSA 4INFOA1 - 2013/2014</b>
 * <P>
 * <i>Package model </i> <br>
 * The enumeration Status represents the status of a user
 * 
 * @author Christelle SIAGO HAPPI
 */
public enum Status implements Serializable {
	AWAY("Absent"), CHAT("Online"), DND("Busy");

	private String name = "";

	Status(String name) {
		this.name = name;
	}

	/**
	 * @return the status value
	 */
	@Override
	public String toString() {
		return name;
	}
}